"""
________________________________________________________________________测试数据区______________________________________________________________________________________________
"""
# 老师的数据

from NEH.neh import NEH

proc = [[375, 12, 142, 245, 412], [632, 452, 758, 278, 398], [12, 876, 124, 534, 765], [460, 542, 523, 120, 499],
        [528, 101, 789, 124, 999], [796, 245, 632, 375, 123], [532, 230, 543, 896, 452], [14, 124, 214, 543, 785],
        [257, 527, 753, 210, 463], [896, 896, 214, 258, 259], [532, 302, 501, 765, 988]]
# 实验数据1
list1 = [[4, 1, 6], [2, 4, 3], [1, 8, 7]]
# 实验数据2
list2 = [2, 5, 6, 7, 8]

# 执行neh
neh1 = NEH(proc)
neh1.neh()

# def xum(xmm):
#     print(xmm)
#     sum = 0
#     for i in range(len(xmm)):
#             sum += xmm[i]
#     return sum


#
# l = sorted(list1, key=xum, reverse=True)
# print(l)
#
# print(list1)

#
# i = 5
# for j in range(32, 0, -1):
#     if (i & (1 << (j - 1))) == 0:
#         print("0", end="")
#     else:
#         print("1", end="")
# x, y = 1, 5
# print(x, y)
# z=np.array([3, 4, 5, 6, 76, 8, 65])
# print(z)
# r=z[::-1]
# print(r)
